Endovascular treatment of intracranial aneurysms using a flow-diverting stent